    <!-- SWITCHING PROVIDERS -->
    <switchingProviders>
		<membership>
			<provider providerName="sql" storeFullNames="true" wildcard="%" domains="*"/>
			<provider providerName="ADFSDomainName" storeFullNames="false" wildcard="*" domains="ADFSDomainName" />   <!-- added for AD integration -->
		</membership>
		
		<roleManager>
			<provider providerName="sql" storeFullNames="true" wildcard="%" domains="*" ignoredUserDomains="" allowedUserDomains=""/>
			<provider providerName="ADFSDomainName" storeFullNames="false" wildcard="*" domains="ADFSDomainName" />	<!-- added for AD integration -->
		</roleManager>
		
		<profile>
			<provider providerName="sql" storeFullNames="true" wildcard="%" domains="*" ignoredDomains=""/>
		</profile>
    </switchingProviders>
	
    <membership defaultProvider="sitecore" hashAlgorithmType="SHA1">
		<providers>
			<clear/>
			<add name="sitecore" type="Sitecore.Security.SitecoreMembershipProvider, Sitecore.Kernel" realProviderName="switcher" providerWildcard="%" raiseEvents="true"/>  <!-- modified:  realProviderName="sql"  -->
			<add name="sql" type="System.Web.Security.SqlMembershipProvider" connectionStringName="core" applicationName="sitecore" minRequiredPasswordLength="1" minRequiredNonalphanumericCharacters="0" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="256"/>
			<add name="switcher" type="Sitecore.Security.SwitchingMembershipProvider, Sitecore.Kernel" applicationName="sitecore" mappings="switchingProviders/membership"/>

			<!-- added for AD integration -->
			
			<add name="ADFSDomainName"
				 type="LightLDAP.SitecoreADMembershipProvider" 
				 applicationName="sitecore" 				 				 
				 minRequiredPasswordLength="1" 
				 minRequiredNonalphanumericCharacters="0" 				 
				 requiresQuestionAndAnswer="false" 
				 requiresUniqueEmail="false" 				 
				 connectionStringName="LDAPConnString" 
				 connectionUsername="ADFSUserName" 
				 connectionPassword="ADFSPassword" 
				 connectionProtection="Secure" 				 
				 attributeMapUsername="sAMAccountName" 
				 enableSearchMethods="true" />		
				 
			<!-- added for AD integration -->
		</providers>
    </membership>
	
    <roleManager defaultProvider="sitecore" enabled="true">
		<providers>
			<clear/>
			<add name="sitecore" type="Sitecore.Security.SitecoreRoleProvider, Sitecore.Kernel" realProviderName="switcher" raiseEvents="true"/>   <!-- modified:  realProviderName="sql"  -->
			<add name="sql" type="System.Web.Security.SqlRoleProvider" connectionStringName="core" applicationName="sitecore"/>
			<add name="switcher" type="Sitecore.Security.SwitchingRoleProvider, Sitecore.Kernel" applicationName="sitecore" mappings="switchingProviders/roleManager"/>
			
			<!-- added for AD integration -->
			
			<add name="ADFSDomainName" 
				 type="LightLDAP.SitecoreADRoleProvider" 
				 connectionStringName="LDAPConnString" 
				 applicationName="sitecore" 
				 username="ADFSUserName" 
				 password="ADFSPassword" 
				 attributeMapUsername="sAMAccountName" 
				 cacheSize="2MB" />		
				 
			<!-- added for AD integration -->
		</providers>
    </roleManager>
	
    <profile defaultProvider="sql" enabled="true" inherits="Sitecore.Security.UserProfile, Sitecore.Kernel">
		<providers>
			<clear/>
			<add name="sql" type="System.Web.Profile.SqlProfileProvider" connectionStringName="core" applicationName="sitecore"/>
			<add name="switcher" type="Sitecore.Security.SwitchingProfileProvider, Sitecore.Kernel" applicationName="sitecore" mappings="switchingProviders/profile"/>		<!-- added for AD integration -->
		</providers>
		<properties>
			<clear/>
			<add type="System.String" name="SC_UserData"/>
		</properties>
    </profile>